package com.googlecode.allinclusive.fw.web.struts2;

import java.io.File;
import java.io.IOException;

import org.springframework.util.FileCopyUtils;

public class FileUploadAction extends BaseAction {

	private File[] uploadFiles;
	

	public void showImage(byte[] image) throws IOException {
		response.setContentType("image/*");
		FileCopyUtils.copy(image, response.getOutputStream());
	}
	
}
